package com.fc.test.model.auto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 票据表 PaperSheet 
 * @author 谢志恺_自动生成
 * @email 2251719256@qq.com
 * @date 2020-10-28 13:29:36
 */
 @ApiModel(value="PaperSheet", description="票据表")
public class PaperSheet implements Serializable {

	private static final long serialVersionUID = 1L;
	
		
	/** 票据单号 自增主键 **/
	@ApiModelProperty(value = "票据单号 自增主键")
	private Integer id;
		
	/** 购票人 **/
	@ApiModelProperty(value = "购票人")
	private String spectator;
		
	/** 联系电话 **/
	@ApiModelProperty(value = "联系电话")
	private String pohone;
		
	/** 票据类型 0普通,1 vip **/
	@ApiModelProperty(value = "票据类型 0普通,1 vip")
	private String type;
		
	/** 票据可用次数 **/
	@ApiModelProperty(value = "票据可用次数")
	private Integer number;
		
	/** 失效时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@ApiModelProperty(value = "失效时间")
	private Date failureTime;
		
	/** 创建时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@ApiModelProperty(value = "创建时间")
	private Date creationTime;
		
	/** 操作人 **/
	@ApiModelProperty(value = "操作人")
	private String operator;
		
	/** 备注 **/
	@ApiModelProperty(value = "备注")
	private String remark;
		
		
	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
	 
			
	public String getSpectator() {
        return spectator;
    }

    public void setSpectator(String spectator) {
        this.spectator = spectator;
    }
	 
			
	public String getPohone() {
        return pohone;
    }

    public void setPohone(String pohone) {
        this.pohone = pohone;
    }
	 
			
	public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
	 
			
	public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
	 
			
	public Date getFailureTime() {
        return failureTime;
    }

    public void setFailureTime(Date failureTime) {
        this.failureTime = failureTime;
    }
	 
			
	public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }
	 
			
	public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
	 
			
	public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
	 
			
	public PaperSheet() {
        super();
    }
    
																																															
	public PaperSheet(Integer id,String spectator,String pohone,String type,Integer number,Date failureTime,Date creationTime,String operator,String remark) {
	
		this.id = id;
		this.spectator = spectator;
		this.pohone = pohone;
		this.type = type;
		this.number = number;
		this.failureTime = failureTime;
		this.creationTime = creationTime;
		this.operator = operator;
		this.remark = remark;
		
	}
	
}